import request from '../utils/request'

export function calculate(params) {
  return request({
    url: '/member/point/calculate',
    method: 'post',
    params:params
  })
}

export function transfer(params) {
  return request({
    url: '/member/point/transfer',
    method: 'post',
    params:params
  })
}

export function list(params) {
  return request({
    url: '/member/point/list',
    method: 'get',
    params:params
  })
}

export function mlist(params) {
  return request({
    url: '/member/point/mlist',
    method: 'get',
    params:params
  })
}

export function reminder(id) {
  return request({
    url: '/member/point/reminder/'+ id,
    method: 'post'
  })
}

export function find(id) {
  return request({
    url: '/member/point/find/'+ id,
    method: 'get'
  })
}

export function confirm(params) {
  return request({
    url: '/member/point/confirm',
    method: 'post',
    params:params
  })
}

export function complete(params) {
  return request({
    url: '/member/point/complete',
    method: 'post',
    params:params
  })
}



export function alist(params) {
  return request({
    url: '/member/point/alist',
    method: 'get',
    params:params
  })
}

export function moveTo(params) {
  return request({
    url: '/member/point/moveTo',
    method: 'post',
    params:params
  })
}
// /member/point/summary  红包账单汇总
export function summary(params) {
  return request({
    url: '/member/point/summary',
    method: 'get',
    params:params
  })
}

// /member/point/summaryList 红包账单汇总
export function summaryList(params) {
  return request({
    url: '/member/point/summaryList',
    method: 'get',
    params:params
  })
}